<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<script>
    function fn1(){
        console.log('fn1-this',this);
    }
    fn1()

    let obj1={
        count:0,
        fn2:function(){
            this.count++
            console.log('fn2-this',this.count);
        }
    }

    let obj2={
        count:0,
        fn2:(obj)=>{
            obj.count++
            console.log('fn2-this', obj, obj.count) // window NaN
        },
        fn3:()=>{
            this.count++
            console.log('fn2-this', this, this.count) // window NaN
        }
    }

    obj2.fn3.bind(this)
    console.log('obja',obj2.count);
</script>
<body>
    
</body>
</html>